package com.janko.springbootelasticsearch.dao;

import com.janko.springbootelasticsearch.entity.Employee;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @Author nyk
 * @Date 2021/9/29 11:53
 * @Version 1.0
 * @Desc
 */
public interface  EmployeeDao extends ElasticsearchRepository<Employee,String> {
    /**
     * 查询雇员信息
     * @param id
     * @return
     */
    Employee queryEmployeeById(String id);
}
